package com.citic.netty.common.protocol.session;

public class Session {

	// 用户唯一性标识
    private String userId;
    
    private String username;
    
    public Session() {}
    
    public Session(String userId, String username) {
    	this.userId = userId;
    	this.username = username;
    }

    public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	@Override
    public String toString() {
        return username + ":" + username;
    }
}
